package cn.com.idmy.mq.builder;

import cn.com.idmy.mq.coder.MqMsgEncoder;
import cn.com.idmy.mq.model.MqMsg;

@FunctionalInterface
public interface MqMsgBuilder<T> {
    T build(MqMsg msg, MqMsgEncoder encoder);
}
